/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ac.ui.controls;

import ac.ui.utils;
import ac.uitls.propertiesOperation;
import java.awt.ComponentOrientation;
import javax.swing.JPanel;

/**
 *
 * @author empcl_000
 */
public class PCLPanel extends JPanel {

    ac.ui.utils u = new ac.ui.utils();
    propertiesOperation op = new propertiesOperation();
    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public PCLPanel() {
        //setBorder(javax.swing.BorderFactory.createEtchedBorder());

    }

    protected void onLoad() {

        if (op.getProperty("lang").equals("ar")) {
            applyComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
        }
        u.updateComponents(getComponents());
    }
    
}
